package com.yzy.entity.query;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

/**
 * @author mgl
 * @version 1.0
 * @description 商品的包装类
 * @date 2023/7/26 18:56
 */
@Data
public class WrappedGood {

    private Integer id;
    private String name;
    private String introduction;
    private Double price;
    private Integer uploadUserId;
    private Integer fileId;
    private Integer fileType;
    private List<String> images;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;
}
